<div class="box">
<div class="service-level box-body row">
	<h3 class="col-sm-12 base-imformation">
		<span class="inline-block" style="float:left;">基础信息</span>
		<p class="user-add-btn inline-block">
			{{#if detailEdit}}
			{{else}}
			{{#if nodetail}}
			{{else}}
				{{#ui/form-function editAction="detailEditClick" detailEditClick="detailEditClick"
				removeAction="delById" delById="delById"}}
				{{/ui/form-function}}
				{{/if}}
			{{/if}}
		</p>
	</h3>
	<div class="col-sm-12 mr10 " style="width:99%;">
		<div class="nopadding-vertical">
			<!-- 列表编辑-->
			{{#bs-form formLayout=formLayout model=projectModel invalid=(action "invalid")}}
				<div class="row">
					<div class="col-xs-12 nopadding-horizontal mb20">
						<div class="col-xs-12 col-sm-6">
							<div class="form-input-group label-normal">
								<span class="input-group-addon">会员：</span>
								<div class="input-group-content">{{projectInfo.customer.name}}</div>
							</div>

						</div>

						<!-- <div class="col-xs-12 col-sm-6">
							<div class="form-input-group label-normal">
								<span class="input-group-addon">价格(元/天)：</span>
								{{#if detailEdit}}
									{{bs-form-element property="price" class="inline-block form-input-group label-normal" controlType="price" placeholder='价格(必填)'}}
								{{else}}
									<div class="input-group-content">{{projectInfo.price}}</div>
								{{/if}}
							</div>
						</div> -->

						<div class="col-xs-12 col-sm-12">
							<div class="form-input-group label-normal">
								<span class="input-group-addon">备注：</span>
									{{#if detailEdit}}
										{{input class="form-control" type="text" placeholder=projectInfo.remark value=projectInfo.remark}}
									{{else}}
											<div class="input-group-content">{{projectInfo.remark}}</div>
									{{/if}}
							</div>
						</div>
					</div>
				</div>
				<!-- 列表编辑 -->
			{{/bs-form}}
		</div>
		<!-- /BOX-BODY -->
	</div>

	<h3 class="col-sm-12 nursingproject">服务项目
		<div class="remark"><i class="fa fa-check"></i>已选定服务项目</div>
	</h3>

	<div class="col-sm-12 nopadding-left nopadding-right">
		{{#each allServiceList as |service|}}
		<!-- <div class="{{if media.isJumbo 'col-lg-3' 'col-sm-4'}} service {{if haveClass 'jujiaservice' ''}}"> -->
			<div class="{{if media.isJumbo 'col-lg-3' 'col-sm-4'}} service">
			{{callbusi/service-list-item class="inline-block" service=service flags=flags chooseService="chooseService" chooseService=(action 'chooseService' service) detailEdit=detailEdit havePrice=true}}
		</div>
		{{/each}}
	</div>

	<div class="col-sm-12">
	<div class="text-center padding-top30">
			<p class="text-center user-add-btn" style="display:inline-block;margin:0 auto!important ">
			{{#if detailEdit}}
			{{#ui/mix-button class="user-btn edit-btn" iconClass="fa fa-check"  text='保存' clickAction="detailSaveClick" detailSaveClick="detailSaveClick"}}
			{{/ui/mix-button}}
			{{#ui/mix-button class="user-btn times-btn" iconClass="fa fa-mail-reply"  text='取消'  clickAction="detailCancel" detailCancel="detailCancel" }}
			{{/ui/mix-button}}
			{{else}}
			{{/if}}
			</p>
	</div>
	</div>
</div>
</div>


{{#if showpopInvitePassModal}}
	{{#bs-modal body=false footer=false header=false}}
		{{#bs-modal-header}}
			<h3 class="modal-title">删除提示</h3>
		{{/bs-modal-header}}
		{{#bs-modal-body}}
			<h4 class="modal-title">是否删除该条记录？</h4>
		{{/bs-modal-body}}
		{{#bs-modal-footer as |footer|}}
			{{#bs-button action=(action "cancelPassSubmit" projectInfo) type="primary" disabled=prepaidDisabled}}确定{{/bs-button}}
			{{#bs-button action=(action "invitation") type="default" }}取消{{/bs-button}}
		{{/bs-modal-footer}}
	{{/bs-modal}}
{{/if}}
